<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <webview id="wv" style="height:800px;width:500px;" src="http://zhushou.360.cn/"></webview>
  <script>
 	//var win = nw.Window.get();
	//win.showDevTools();
	//nw.Window.open("http://zhushou.360.cn/", {}, function(w){
	//	w.on("loaded", function(){
	//		w.capturePage((buf)=>{
	//			const fs = require("fs");
	//			fs.writeFileSync("img.png", buf);
	//		}, {format:'png',datatype:'buffer'});
	//	})

	//});
	function ld(){
		let wv = document.getElementById("wv");
		console.log(wv);
	}
  </script>
  </body>
</html>